body {
  font-size: 0.825rem;
  min-width: 69rem;
  min-height: 30rem;
}

nav.navbar a {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

nav.navbar a:hover {
    color: #007bff;
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.banner .navbar-brand {
  text-align: center;
}

.banner .brand {
  font-weight: 400; 
  font-size: x-large;
  color: #31af13;
}

/* 顶部按钮组件被选中的点亮成绿色 */
.banner .btn-secondary:not(:disabled):not(.disabled).active, .banner .btn-secondary:not(:disabled):not(.disabled):active{
  color: #31af13;
}

/*
   * Navbar
   */

.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.navbar .navbar-toggler {
  top: 0.25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: 0.75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.nav-link {
    display: block;
    padding: .5rem 0.6rem;
}

.components-list{
    width: 100%;
    height: auto;
}

.components-list .widget-cate {
    padding: 1rem 0 0.5rem 0.5rem;
    font-size: 1.1rem;
    color:#007bff;
}

.components-list .widget-cate > i {
    margin-right: 0.8rem;
}

.components-list .form-edit-widget-label {
    font-size: 0.9rem;
    display: block;
    width: 48%;
    line-height: 26px;
    position: relative;
    float: left;
    left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    margin: 0;
    border: 1px dashed #fff;
}

/* 鼠标到组件上的样式 */
.components-list .form-edit-widget-label:hover{
    color: #409eff;
    border: 1px dashed #409eff;
}

/* 开始拖拽的组件样式 */
.form-edit-widget-label.dragging-widget {
    color: #409eff;
    border: 1px dashed #409eff;
    width: 150px;
    height: 32px;
}

.components-list .form-edit-widget-label>a {
    display: block;
    cursor: move;
    background: none;
    border: 1px solid #f4f6fc;
}

.components-list .form-edit-widget-label > a span {
    display: inline-block;
    vertical-align: middle;
}

.components-list .form-edit-widget-label>a i, a>i, label.btn>i {
    margin-right: 6px;
    display: inline-block;
}

#main-tab-panel-design{
    position: relative;
}

/*中间设计区域*/
.widget-form-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eee;
    min-height: 300px;
    overflow:scroll;
}

#preview-body{
    overflow:scroll;
}

.widget-form-container .widget-form-list {
    /* height: 100%; */
    padding-bottom: 50px;
    border: 1px dotted #ccc;
}
.widget-form-container .widget-form-list.ui-droppable-active {
  border: 1px dashed #06f;
}

.ui-state-default.col-1,.ui-state-default.col-2,.ui-state-default.col-3,
.ui-state-default.col-4,.ui-state-default.col-5,.ui-state-default.col-6,
.ui-state-default.col-7,.ui-state-default.col-8,.ui-state-default.col-9,
.ui-state-default.col-10,.ui-state-default.col-11,.ui-state-default.col-12{
  padding-left:0;
  padding-right:0;
}

.widget-form-list.row {
  margin-left:0;
  margin-right:0;
}

.widget-form-container .widget-form-list>div {
  position: relative;
}

.widget-form-container .form-widget.grid, .preview-body .form-widget.grid  {
  margin-left: 0.2rem;
  margin-right: 0.2rem;
}

.widget-form-container .form-widget.grid .widget-form-list, .preview-body .form-widget.grid .widget-form-list{
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}


.widget-form-container .layout-handler {
  height:2rem;
  position: relative;
}

.widget-form-container .layout-handler .btn-delete{
  position: absolute;
  right: 1.5rem;
}

#code-textarea {
    width:100%;
    min-height:300px;
}

.form-widget {
    position: relative;   
}

.form-widget-mask{
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.form-widget-mask .badge{
  position:absolute;
  bottom: 10px;
  right: 10px;
  display: none;
  font-size: 1.3rem;
}

.form-widget-mask.active {
  background: rgb(13 102 218 / 50%);
}

.form-widget-mask.active .badge{
  display: block;
  cursor: pointer;
}
